package org.orz.story.pms.api;

import org.orz.cloud.common.result.ResultDTO;
import org.orz.story.pms.api.model.dto.DoAuthDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "pms", contextId = "accountAuthClient", url="${feign-client-ip.pms:}")
public interface AccountAuthClient {

    /**
     * 认证
     */
    @PostMapping("/api/accountAuth/doAuth")
    ResultDTO doAuth(@RequestBody DoAuthDto dto);
}
